package com.woniuxy.oa.mapper;

import java.util.List;

import com.woniuxy.oa.entity.Department;

public interface DepartmentMapper {
	//通过d_id获取department对象
	Department selectDepartmentByDid(Integer d_id);
	//插入部门，不返回插入后的d_id
	void insertDepartment(Department department);
	//获取所有部门
	List<Department> selectAllDepartments();

}
